package com.hqyj.emb.system.service;

import com.hqyj.emb.system.model.Role;
import com.hqyj.emb.system.model.User;

import java.util.List;
import java.util.Map;

public interface RoleService {
    List<Role> queryAllUserRole();

    int addUserRole(Role role);

    int deleteRoleByUserId(int roleId);

    Role queryUserRole(int roleId);

    int updateUserRole(Role role);


    Role queryRoleByRoleId(int roleId);

    List<Role> queryAllUserRoleName();

    List<Role> findTj(Map<String, String[]> parameterMap);
}
